Crate rbatis_macro_driver
source · [−]Attribute Macros
CRUD table,You can define functionality using the following properties
#[crud_table]
#[crud_table(table_name:“biz_activity”)]
#[crud_table(table_name:“biz_activity” | table_columns:“id,name,version,delete_flag” | formats_pg:“id:{}::uuid,name:{}::string”)]
pub struct BizActivity {
pub id: Option
html sql create macro,this macro use RB.py_fetch and RB.py_exec for example:
py sql create macro,this macro use RB.py_fetch and RB.py_exec
auto create sql macro,this macro use RB.fetch_prepare and RB.exec_prepare
for example:
pub static RB:Lazy